package cn.echo.modules.sys.entity;

import cn.echo.common.baseentity.BaseEntity;
import org.apache.ibatis.type.Alias;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

import static com.sun.tools.doclets.formats.html.markup.HtmlStyle.title;


public class Site extends BaseEntity implements Serializable{
    @NotNull(message="标题不能为空")
    private String keywords;
    @NotNull(message="标题不能为空")
    private String title;
    @NotNull(message="标题不能为空")
    private String logo;
    @NotNull(message="标题不能为空")
    private String description;
    @NotNull(message="标题不能为空")
    private String copyright;
    private String theme;
    private String domain;
//    private String createBy;



    public Site() {
    }
  public Site(String id){

      super(id);
  }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getCopyright() {
        return copyright;
    }

    public void setCopyright(String copyright) {
        this.copyright = copyright;
    }

    public String getTheme() {
        return theme;
    }

    public void setTheme(String theme) {
        this.theme = theme;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }


    @Override
    public String toString() {
        return "Site{" +
                "keywords='" + keywords + '\'' +
                ", title='" + title + '\'' +
                ", logo='" + logo + '\'' +
                ", description='" + description + '\'' +
                ", copyright='" + copyright + '\'' +
                ", theme='" + theme + '\'' +
                ", domain='" + domain + '\'' +
                '}';
    }
}
